package persistence;

public enum EntityKeyGenerator {
    PROCESSOR;

    private int nextKey;
    synchronized int getNextKey() {
        return ++nextKey;
    }
}
